import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/Layout/index.vue'),
      redirect:'/home',
      children: [
        {
          path: '/home',
          component: () => import('../views/Home/index.vue')
        }
      ]
    },
  ],
})

export default router
